import { $t } from "@/plugins/i18n";
import { myexperiments } from "@/router/enums";

export default {
  path: "/experiments",
  redirect: "/experiments/index",
  meta: {
    icon: "ic:baseline-bar-chart",
    title: $t("menus.hsExperiments"),
    rank: myexperiments,
    roles: ["admin", "common"]
  },
  children: [
    {
      path: "/experiments/index",
      name: "Experiments",
      component: () => import("@/views/experiments/index.vue"),
      meta: {
        title: $t("menus.hsExperiments")
      }
    }
  ]
} as RouteConfigsTable;
